package fastwave.cloud.demo.fastwave.biz.publisher.config;

import org.springframework.amqp.core.TopicExchange;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>Title: BlogConfig</p>
 * <p>Description: </p>
 *
 * @author: dwLiu
 * @date: 2020/4/7 16:58
 */
@Configuration
public class BlogConfig {

    @Bean
    TopicExchange BlogExchange(){
        return new TopicExchange("BlogExchange");
    }
}
